import pygame

class GameControl:
    def __init__(self, screen, screen_rect):
        self.screen = screen
        self.screen_rect = screen_rect
        font = pygame.font.SysFont("comicsans", 72)
        self.text = font.render("PAUSED", True, (255, 0,0))
        self.text_rect = self.text.get_rect()
        self.text_rect.center = screen_rect.center
        

    def pause(self):
        self.screen.blit(self.text, self.text_rect)